// samsting : this file is auto create.

#include "Ecs/2014-05-26/RevokeSecurityGroupRequest.h"

namespace aliyun { namespace Ecs {

RevokeSecurityGroupRequest::RevokeSecurityGroupRequest() : RpcAcsRequest("Ecs", "2014-05-26", "RevokeSecurityGroup") {
}

int64 RevokeSecurityGroupRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void RevokeSecurityGroupRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& RevokeSecurityGroupRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void RevokeSecurityGroupRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 RevokeSecurityGroupRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void RevokeSecurityGroupRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& RevokeSecurityGroupRequest::GetSecurityGroupId(void) const {
  return SecurityGroupId_;
}
void RevokeSecurityGroupRequest::SetSecurityGroupId(const string& SecurityGroupId) {
  SecurityGroupId_ = SecurityGroupId;
  PutQueryParameter("SecurityGroupId", SecurityGroupId_);
}

const string& RevokeSecurityGroupRequest::GetIpProtocol(void) const {
  return IpProtocol_;
}
void RevokeSecurityGroupRequest::SetIpProtocol(const string& IpProtocol) {
  IpProtocol_ = IpProtocol;
  PutQueryParameter("IpProtocol", IpProtocol_);
}

const string& RevokeSecurityGroupRequest::GetPortRange(void) const {
  return PortRange_;
}
void RevokeSecurityGroupRequest::SetPortRange(const string& PortRange) {
  PortRange_ = PortRange;
  PutQueryParameter("PortRange", PortRange_);
}

const string& RevokeSecurityGroupRequest::GetSourceGroupId(void) const {
  return SourceGroupId_;
}
void RevokeSecurityGroupRequest::SetSourceGroupId(const string& SourceGroupId) {
  SourceGroupId_ = SourceGroupId;
  PutQueryParameter("SourceGroupId", SourceGroupId_);
}

const string& RevokeSecurityGroupRequest::GetSourceGroupOwnerAccount(void) const {
  return SourceGroupOwnerAccount_;
}
void RevokeSecurityGroupRequest::SetSourceGroupOwnerAccount(const string& SourceGroupOwnerAccount) {
  SourceGroupOwnerAccount_ = SourceGroupOwnerAccount;
  PutQueryParameter("SourceGroupOwnerAccount", SourceGroupOwnerAccount_);
}

const string& RevokeSecurityGroupRequest::GetSourceCidrIp(void) const {
  return SourceCidrIp_;
}
void RevokeSecurityGroupRequest::SetSourceCidrIp(const string& SourceCidrIp) {
  SourceCidrIp_ = SourceCidrIp;
  PutQueryParameter("SourceCidrIp", SourceCidrIp_);
}

const string& RevokeSecurityGroupRequest::GetPolicy(void) const {
  return Policy_;
}
void RevokeSecurityGroupRequest::SetPolicy(const string& Policy) {
  Policy_ = Policy;
  PutQueryParameter("Policy", Policy_);
}

const string& RevokeSecurityGroupRequest::GetNicType(void) const {
  return NicType_;
}
void RevokeSecurityGroupRequest::SetNicType(const string& NicType) {
  NicType_ = NicType;
  PutQueryParameter("NicType", NicType_);
}

const string& RevokeSecurityGroupRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void RevokeSecurityGroupRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}


} } // namespace aliyun { namespace Ecs {

// end of file 
